package com.yungu.swift.report.service.impl;

import com.yungu.swift.base.ResponseData;
import com.yungu.swift.base.model.admin.AdminReportParam;
import com.yungu.swift.report.dao.ReportUserOriginProvinceDayMapper;
import com.yungu.swift.report.service.UserOriginProvinceDayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;


/**
 * ReportUserOriginProvinceDayServiceImpl
 **/
@Component
public class UserOriginProvinceDayServiceImpl implements UserOriginProvinceDayService {

    @Autowired
    private ReportUserOriginProvinceDayMapper mapper;

    @Override
    public ResponseData<List<Map<String, Object>>> list(AdminReportParam reportParam) {
        return ResponseData.buildSuccessResponse(mapper.list(reportParam));
    }
}